package com.xueyi.system.application.domain.dto;

import com.xueyi.system.application.domain.po.BaseQualityApplicationPo;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 检验申请 数据传输对象
 *
 * @author xueyi
 */
public class BaseQualityApplicationDto extends BaseQualityApplicationPo {

    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("code", getCode())
            .append("category", getCategory())
            .append("iqcDept", getIqcDept())
            .append("batchNum", getBatchNum())
            .append("origin", getOrigin())
            .append("applyDate", getApplyDate())
            .append("verifyDate", getVerifyDate())
            .append("verifyDept", getVerifyDept())
            .append("verifyPersonnel", getVerifyPersonnel())
            .append("spces", getSpces())
            .append("inspectNum", getInspectNum())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}